<html>
<head><meta charset="utf-8"><title>Memory layout · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Memory.20layout.html">Memory layout</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="135716759"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Memory%20layout/near/135716759" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> blitzerr <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Memory.20layout.html#135716759">(Oct 13 2018 at 04:20)</a>:</h4>
<p>Where should I look in the code to figure out how Rust memory model or object layout ?</p>



<a name="135719195"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Memory%20layout/near/135719195" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Memory.20layout.html#135719195">(Oct 13 2018 at 05:44)</a>:</h4>
<p><code>librustc/ty/layout.rs</code> has the implementation of object layouts. Work on memory model is ongoing <a href="https://github.com/nikomatsakis/rust-memory-model" target="_blank" title="https://github.com/nikomatsakis/rust-memory-model">here</a>.</p>



<a name="135733153"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Memory%20layout/near/135733153" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> blitzerr <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Memory.20layout.html#135733153">(Oct 13 2018 at 14:11)</a>:</h4>
<p>Thanks a lot <span class="user-mention" data-user-id="123586">@nagisa</span> . I appreciate the pointers</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>